//
//  TeamCentral.h
//  playSerengetiMobile1
//
//  Created by Lita Gratrix on 11/5/09.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Team.h"
#import "TeamProfile.h"
#import "playSerengetiMobile1AppDelegate.h"


@interface TeamCentral : UIViewController<UITableViewDelegate, UITableViewDataSource>{
	UITableView *teamCentralTableView;
	
	NSMutableData *responseData;
	
	NSMutableArray *leaders;
	NSMutableArray *mostActive;
	NSMutableArray *newest;
	
	NSMutableArray *tableSourceArray;
	
	playSerengetiMobile1AppDelegate *appDelegate;
}

@property (nonatomic, retain) IBOutlet UITableView *teamCentralTableView;

@property (nonatomic, retain) NSMutableArray *leaders;
@property (nonatomic, retain) NSMutableArray *mostActive;
@property (nonatomic, retain) NSMutableArray *newest;

@property (nonatomic, retain) NSMutableArray *tableSourceArray;

@property (nonatomic, retain) playSerengetiMobile1AppDelegate *appDelegate;

- (void)populateViewData:(NSDictionary *)parsedData;
- (void)populateTeamArray:(NSMutableArray *)sourceArray ForTableArray:(NSMutableArray *)tableArray;

@end
